#ifndef OPENHITLS_KAE_DH_LOCAL_H
#define OPENHITLS_KAE_DH_LOCAL_H

#include <bsl_errno.h>
#include <bsl_params.h>
#include <crypt_algid.h>
#include <crypt_errno.h>
#include <crypt_rsa.h>

#include "kaev1_dh.h"

int DH_CheckBitsLength(const uint32_t bits);

void KAE_DH_FreePara(DH_Para *dhPara);

DH_Para *KAE_DH_NewPara(const BSL_Param *params);

DH_Para *KAE_DH_NewParaById(CRYPT_PKEY_ParaId id);

#endif